package testdemo0;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 黎鹤舞
 * Date: 2023-11-20
 * Time: 11:36
 */
public abstract class Animal {

    public String name;
    abstract void eat();
    //abstract void sleep();

    public Animal(String name) {
        this.name = name;
    }
}
